WCPay\Internal\Service\DuplicatePaymentPreventionService S

Total Complexity 25
Dependencies 10
Dependents 4
Total lines 237
Lines of code 88
Logical lines of code 51
Comment lines 109
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
get_authorized_payment_intent_attached_to_order()
S
51 7 26
get_previous_paid_duplicate_order_id()
S
55 7 22
clear_session_processing_order_after_landing_order_received_page()
S
67 3 7
remove_session_processing_order()
S
73 2 5
get_session_processing_order()
S
74 2 4
clean_up_when_detecting_duplicate_order()
S
64 1 11
__construct()
S
69 1 7
init_hooks()
S
78 1 3
update_session_processing_order()
S
80 1 3